package com.pzsh.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 实体基类
 */
@Data
public class BaseEntity implements Serializable {

    @ApiModelProperty(value = "添加时间")
    @Column(name = "create_date")
    private Timestamp createDate;

//    @JsonIgnore
    @ApiModelProperty(value = "修改时间")
    @Column(name = "modify_date")
    private Timestamp modifyDate;

}
